home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1993-05-24 | 6.8 KB | [TEXT/KAHL] |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
You can browse this item here: real PUF Interface
Confidence | Program | Detection | Match Type | Support
|
---|
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Mon May 24 15:59:16 1993, modified Mon May 24 15:59:16 1993, creator Think C, type ASCII, 6195 bytes "real PUF Interface" , at 0x18b3 402 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [KAHL] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 12 72 65 61 6c 20 50 | 55 46 20 49 6e 74 65 72 |..real P|UF Inter|
|00000010| 66 61 63 65 00 00 00 00 | 00 00 00 00 00 00 00 00 |face....|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4b 41 48 | 4c 01 00 00 00 00 00 00 |.TEXTKAH|L.......|
|00000050| 00 00 00 00 00 18 33 00 | 00 01 92 a8 26 d9 94 a8 |......3.|....&...|
|00000060| 26 d9 94 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |&.......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 f2 09 00 00 |........|........|
|00000080| a6 46 42 a6 4d 45 0d 4d | 65 73 73 61 67 65 20 49 |.FB.ME.M|essage I|
|00000090| 44 3a 20 34 33 36 2d 32 | 30 30 34 0d 44 61 74 65 |D: 436-2|004.Date|
|000000a0| 3a 20 20 20 20 20 20 20 | 35 2f 32 34 2f 39 33 20 |: |5/24/93 |
|000000b0| 31 32 3a 31 36 20 41 4d | 0d 46 72 6f 6d 3a 20 20 |12:16 AM|.From: |
|000000c0| 20 20 20 20 20 22 50 61 | 74 72 69 63 6b 20 43 2e | "Pa|trick C.|
|000000d0| 20 42 65 61 72 64 22 20 | 3e 49 4e 54 45 52 4e 45 | Beard" |>INTERNE|
|000000e0| 54 3a 62 65 61 72 64 40 | 63 73 2e 75 63 64 61 76 |T:beard@|cs.ucdav|
|000000f0| 69 73 2e 65 64 75 0d 53 | 75 62 6a 65 63 74 3a 20 |is.edu.S|ubject: |
|00000100| 20 20 20 52 65 3a 20 6e | 65 77 20 73 74 75 66 66 | Re: n|ew stuff|
|00000110| 0d 0d 53 65 6e 64 65 72 | 3a 20 62 65 61 72 64 40 |..Sender|: beard@|
|00000120| 63 73 2e 75 63 64 61 76 | 69 73 2e 65 64 75 0d 52 |cs.ucdav|is.edu.R|
|00000130| 65 63 65 69 76 65 64 3a | 20 66 72 6f 6d 20 74 6f |eceived:| from to|
|00000140| 61 64 66 6c 61 78 2e 63 | 73 2e 75 63 64 61 76 69 |adflax.c|s.ucdavi|
|00000150| 73 2e 65 64 75 20 62 79 | 20 69 68 61 2e 63 6f 6d |s.edu by| iha.com|
|00000160| 70 75 73 65 72 76 65 2e | 63 6f 6d 20 28 35 2e 36 |puserve.|com (5.6|
|00000170| 35 2f 35 2e 39 33 30 31 | 32 39 73 61 6d 29 0d 20 |5/5.9301|29sam). |
|00000180| 69 64 20 41 41 31 37 38 | 34 37 3b 20 4d 6f 6e 2c |id AA178|47; Mon,|
|00000190| 20 32 34 20 4d 61 79 20 | 39 33 20 30 32 3a 33 33 | 24 May |93 02:33|
|000001a0| 3a 34 34 20 2d 30 34 30 | 30 0d 52 65 63 65 69 76 |:44 -040|0.Receiv|
|000001b0| 65 64 3a 20 66 72 6f 6d | 20 6c 6f 63 61 6c 68 6f |ed: from| localho|
|000001c0| 73 74 2e 63 73 2e 75 63 | 64 61 76 69 73 2e 65 64 |st.cs.uc|davis.ed|
|000001d0| 75 20 62 79 20 74 6f 61 | 64 66 6c 61 78 2e 63 73 |u by toa|dflax.cs|
|000001e0| 2e 75 63 64 61 76 69 73 | 2e 65 64 75 20 28 34 2e |.ucdavis|.edu (4.|
|000001f0| 31 2f 55 43 44 2e 43 53 | 2e 32 2e 33 29 0d 20 69 |1/UCD.CS|.2.3). i|
|00000200| 64 20 41 41 32 31 32 33 | 31 3b 20 53 75 6e 2c 20 |d AA2123|1; Sun, |
|00000210| 32 33 20 4d 61 79 20 39 | 33 20 32 33 3a 33 33 3a |23 May 9|3 23:33:|
|00000220| 34 30 20 50 44 54 0d 4d | 65 73 73 61 67 65 2d 49 |40 PDT.M|essage-I|
|00000230| 64 3a 20 3c 39 33 30 35 | 32 34 30 36 33 33 2e 41 |d: <9305|240633.A|
|00000240| 41 32 31 32 33 31 40 74 | 6f 61 64 66 6c 61 78 2e |A21231@t|oadflax.|
|00000250| 63 73 2e 75 63 64 61 76 | 69 73 2e 65 64 75 3e 0d |cs.ucdav|is.edu>.|
|00000260| 54 6f 3a 20 53 74 65 76 | 65 20 5a 65 6c 6c 65 72 |To: Stev|e Zeller|
|00000270| 73 20 3c 37 35 34 36 30 | 2e 31 33 37 35 40 43 6f |s <75460|.1375@Co|
|00000280| 6d 70 75 53 65 72 76 65 | 2e 43 4f 4d 3e 0d 53 75 |mpuServe|.COM>.Su|
|00000290| 62 6a 65 63 74 3a 20 52 | 65 3a 20 6e 65 77 20 73 |bject: R|e: new s|
|000002a0| 74 75 66 66 20 0d 49 6e | 2d 52 65 70 6c 79 2d 54 |tuff .In|-Reply-T|
|000002b0| 6f 3a 20 59 6f 75 72 20 | 6d 65 73 73 61 67 65 20 |o: Your |message |
|000002c0| 6f 66 20 32 34 20 4d 61 | 79 20 39 33 20 30 31 3a |of 24 Ma|y 93 01:|
|000002d0| 33 37 3a 35 31 20 2d 30 | 35 30 30 2e 0d 20 20 20 |37:51 -0|500.. |
|000002e0| 20 20 20 20 20 20 20 20 | 20 20 3c 39 33 30 35 32 | | <93052|
|000002f0| 34 30 35 33 37 35 30 5f | 37 35 34 36 30 2e 31 33 |4053750_|75460.13|
|00000300| 37 35 5f 46 48 41 35 39 | 2d 31 40 43 6f 6d 70 75 |75_FHA59|-1@Compu|
|00000310| 53 65 72 76 65 2e 43 4f | 4d 3e 20 0d 44 61 74 65 |Serve.CO|M> .Date|
|00000320| 3a 20 53 75 6e 2c 20 32 | 33 20 4d 61 79 20 39 33 |: Sun, 2|3 May 93|
|00000330| 20 32 33 3a 33 33 3a 33 | 38 20 2d 30 37 30 30 0d | 23:33:3|8 -0700.|
|00000340| 46 72 6f 6d 3a 20 22 50 | 61 74 72 69 63 6b 20 43 |From: "P|atrick C|
|00000350| 2e 20 42 65 61 72 64 22 | 20 3c 62 65 61 72 64 40 |. Beard"| <beard@|
|00000360| 63 73 2e 75 63 64 61 76 | 69 73 2e 65 64 75 3e 0d |cs.ucdav|is.edu>.|
|00000370| 0d 3e 20 6f 6e 20 62 69 | 67 7a 3a 0d 3e 20 0d 3e |.> on bi|gz:.> .>|
|00000380| 20 46 72 6f 6e 74 69 65 | 72 20 32 2e 31 61 35 2e | Frontie|r 2.1a5.|
|00000390| 73 69 74 0d 3e 20 54 68 | 69 6e 6b 48 65 6c 70 65 |sit.> Th|inkHelpe|
|000003a0| 72 20 31 2e 30 64 32 2e | 73 69 74 0d 3e 20 0d 3e |r 1.0d2.|sit.> .>|
|000003b0| 20 6c 65 74 20 6d 65 20 | 6b 6e 6f 77 20 77 68 61 | let me |know wha|
|000003c0| 74 20 79 6f 75 20 74 68 | 69 6e 6b 2e 20 20 44 69 |t you th|ink. Di|
|000003d0| 64 20 79 6f 75 20 66 69 | 6e 64 20 74 68 65 20 50 |d you fi|nd the P|
|000003e0| 55 46 20 69 6e 74 65 72 | 66 61 63 65 20 64 6f 63 |UF inter|face doc|
|000003f0| 75 6d 65 6e 74 3f 0d 3e | 20 0d 3e 20 54 68 61 6e |ument?.>| .> Than|
|00000400| 6b 73 2c 0d 3e 20 2d 2d | 73 6d 7a 0d 0d 2f 2a 0d |ks,.> --|smz../*.|
|00000410| 20 50 55 46 49 6e 74 65 | 72 66 61 63 65 2e 68 0d | PUFInte|rface.h.|
|00000420| 20 0d 20 43 6f 70 79 72 | 69 67 68 74 20 29 20 31 | . Copyr|ight ) 1|
|00000430| 39 39 32 20 53 79 6d 61 | 6e 74 65 63 20 43 6f 72 |992 Syma|ntec Cor|
|00000440| 70 6f 72 61 74 69 6f 6e | 2e 20 20 41 6c 6c 20 72 |poration|. All r|
|00000450| 69 67 68 74 73 20 72 65 | 73 65 72 76 65 64 2e 0d |ights re|served..|
|00000460| 20 0d 20 0d 20 54 68 69 | 73 20 49 41 43 20 69 6e | . . Thi|s IAC in|
|00000470| 74 65 72 66 61 63 65 20 | 74 6f 20 54 48 49 4e 4b |terface |to THINK|
|00000480| 20 43 20 77 61 73 20 64 | 65 76 65 6c 6f 70 65 64 | C was d|eveloped|
|00000490| 20 69 6e 20 63 6f 6e 6a | 75 6e 63 74 69 6f 6e 20 | in conj|unction |
|000004a0| 77 69 74 68 20 45 72 69 | 63 20 53 6c 6f 73 73 65 |with Eri|c Slosse|
|000004b0| 72 0d 20 6f 66 20 53 63 | 69 43 6f 6d 70 20 53 6f |r. of Sc|iComp So|
|000004c0| 66 74 77 61 72 65 2c 20 | 61 6e 64 20 44 61 76 69 |ftware, |and Davi|
|000004d0| 64 20 48 6f 65 72 6c 20 | 6f 66 20 4a 65 72 73 65 |d Hoerl |of Jerse|
|000004e0| 79 20 53 63 69 65 6e 74 | 69 66 69 63 2e 20 20 49 |y Scient|ific. I|
|000004f0| 74 20 69 73 20 69 6e 74 | 65 6e 64 65 64 20 74 6f |t is int|ended to|
|00000500| 0d 20 66 61 63 69 6c 69 | 74 61 74 65 20 63 6f 6d |. facili|tate com|
|00000510| 6d 75 6e 69 63 61 74 69 | 6f 6e 20 62 65 74 77 65 |municati|on betwe|
|00000520| 65 6e 20 54 48 49 4e 4b | 20 43 20 61 6e 64 20 74 |en THINK| C and t|
|00000530| 68 69 72 64 2d 70 61 72 | 74 79 20 65 64 69 74 6f |hird-par|ty edito|
|00000540| 72 20 65 78 74 65 6e 73 | 69 6f 6e 73 0d 20 73 75 |r extens|ions. su|
|00000550| 63 68 20 61 73 20 50 6f | 70 55 70 46 75 6e 63 73 |ch as Po|pUpFuncs|
|00000560| 20 61 6e 64 20 43 4d 61 | 73 74 65 72 2e 0d 2a 2f | and CMa|ster..*/|
|00000570| 0d 0d 23 70 72 61 67 6d | 61 20 6f 6e 63 65 0d 0d |..#pragm|a once..|
|00000580| 23 69 66 6e 64 65 66 20 | 5f 5f 50 55 46 49 4e 54 |#ifndef |__PUFINT|
|00000590| 45 52 46 41 43 45 5f 5f | 0d 23 64 65 66 69 6e 65 |ERFACE__|.#define|
|000005a0| 20 5f 5f 50 55 46 49 4e | 54 45 52 46 41 43 45 5f | __PUFIN|TERFACE_|
|000005b0| 5f 0d 0d 23 64 65 66 69 | 6e 65 20 63 43 75 72 72 |_..#defi|ne cCurr|
|000005c0| 65 6e 74 50 55 46 49 6e | 74 65 72 66 61 63 65 56 |entPUFIn|terfaceV|
|000005d0| 65 72 73 69 6f 6e 20 30 | 78 30 30 30 31 0d 0d 73 |ersion 0|x0001..s|
|000005e0| 74 72 75 63 74 20 50 55 | 46 49 6e 74 65 72 66 61 |truct PU|FInterfa|
|000005f0| 63 65 20 7b 0d 20 73 68 | 6f 72 74 20 76 65 72 73 |ce {. sh|ort vers|
|00000600| 69 6f 6e 3b 20 20 2f 2f | 20 63 43 75 72 72 65 6e |ion; //| cCurren|
|00000610| 74 50 55 46 49 6e 74 65 | 72 66 61 63 65 56 65 72 |tPUFInte|rfaceVer|
|00000620| 73 69 6f 6e 0d 20 70 61 | 73 63 61 6c 20 48 61 6e |sion. pa|scal Han|
|00000630| 64 6c 65 20 28 2a 47 65 | 74 57 69 6e 64 6f 77 43 |dle (*Ge|tWindowC|
|00000640| 6f 6e 74 65 6e 74 73 29 | 20 28 57 69 6e 64 6f 77 |ontents)| (Window|
|00000650| 50 74 72 20 77 29 3b 0d | 20 70 61 73 63 61 6c 20 |Ptr w);.| pascal |
|00000660| 76 6f 69 64 20 28 2a 47 | 65 74 53 65 6c 65 63 74 |void (*G|etSelect|
|00000670| 69 6f 6e 29 20 28 6c 6f | 6e 67 2a 20 73 74 61 72 |ion) (lo|ng* star|
|00000680| 74 2c 20 6c 6f 6e 67 2a | 20 65 6e 64 2c 20 6c 6f |t, long*| end, lo|
|00000690| 6e 67 2a 20 66 69 72 73 | 74 43 68 61 72 29 3b 0d |ng* firs|tChar);.|
|000006a0| 20 70 61 73 63 61 6c 20 | 76 6f 69 64 20 28 2a 53 | pascal |void (*S|
|000006b0| 65 74 53 65 6c 65 63 74 | 69 6f 6e 29 20 28 6c 6f |etSelect|ion) (lo|
|000006c0| 6e 67 20 73 74 61 72 74 | 2c 20 6c 6f 6e 67 20 65 |ng start|, long e|
|000006d0| 6e 64 2c 20 6c 6f 6e 67 | 20 66 69 72 73 74 43 68 |nd, long| firstCh|
|000006e0| 61 72 29 3b 0d 20 70 61 | 73 63 61 6c 20 76 6f 69 |ar);. pa|scal voi|
|000006f0| 64 20 28 2a 47 65 74 44 | 6f 63 49 6e 66 6f 29 20 |d (*GetD|ocInfo) |
|00000700| 28 57 69 6e 64 6f 77 50 | 74 72 20 77 2c 20 53 74 |(WindowP|tr w, St|
|00000710| 72 69 6e 67 50 74 72 20 | 6e 61 6d 65 2c 20 73 68 |ringPtr |name, sh|
|00000720| 6f 72 74 2a 20 76 52 65 | 66 4e 75 6d 2c 20 6c 6f |ort* vRe|fNum, lo|
|00000730| 6e 67 2a 20 64 69 72 49 | 44 29 3b 0d 20 70 61 73 |ng* dirI|D);. pas|
|00000740| 63 61 6c 20 6c 6f 6e 67 | 20 28 2a 47 65 74 4d 6f |cal long| (*GetMo|
|00000750| 64 44 61 74 65 29 20 28 | 57 69 6e 64 6f 77 50 74 |dDate) (|WindowPt|
|00000760| 72 20 77 29 3b 0d 20 70 | 61 73 63 61 6c 20 48 61 |r w);. p|ascal Ha|
|00000770| 6e 64 6c 65 20 28 2a 43 | 6f 70 79 29 20 28 76 6f |ndle (*C|opy) (vo|
|00000780| 69 64 29 3b 0d 20 70 61 | 73 63 61 6c 20 76 6f 69 |id);. pa|scal voi|
|00000790| 64 20 28 2a 50 61 73 74 | 65 29 20 28 48 61 6e 64 |d (*Past|e) (Hand|
|000007a0| 6c 65 20 74 65 78 74 29 | 3b 0d 7d 3b 0d 0d 74 79 |le text)|;.};..ty|
|000007b0| 70 65 64 65 66 20 73 74 | 72 75 63 74 20 50 55 46 |pedef st|ruct PUF|
|000007c0| 49 6e 74 65 72 66 61 63 | 65 20 50 55 46 49 6e 74 |Interfac|e PUFInt|
|000007d0| 65 72 66 61 63 65 3b 0d | 0d 73 74 72 75 63 74 20 |erface;.|.struct |
|000007e0| 50 55 46 56 65 63 74 6f | 72 20 7b 0d 20 4f 53 54 |PUFVecto|r {. OST|
|000007f0| 79 70 65 20 20 20 61 70 | 70 6c 53 69 67 6e 61 74 |ype ap|plSignat|
|00000800| 75 72 65 3b 0d 20 50 55 | 46 49 6e 74 65 72 66 61 |ure;. PU|FInterfa|
|00000810| 63 65 2a 20 76 65 63 74 | 6f 72 41 64 64 72 3b 0d |ce* vect|orAddr;.|
|00000820| 20 48 61 6e 64 6c 65 2a | 20 73 63 72 61 70 48 61 | Handle*| scrapHa|
|00000830| 6e 64 6c 65 41 64 64 72 | 3b 20 20 20 2f 2f 20 61 |ndleAddr|; // a|
|00000840| 64 64 72 65 73 73 20 6f | 66 20 48 61 6e 64 6c 65 |ddress o|f Handle|
|00000850| 20 74 6f 20 54 48 49 4e | 4b 27 73 20 70 72 69 76 | to THIN|K's priv|
|00000860| 61 74 65 20 73 63 72 61 | 70 0d 20 75 6e 73 69 67 |ate scra|p. unsig|
|00000870| 6e 65 64 20 63 68 61 72 | 2a 20 73 65 61 72 63 68 |ned char|* search|
|00000880| 53 74 72 41 64 64 72 3b | 20 2f 2f 20 61 64 64 72 |StrAddr;| // addr|
|00000890| 65 73 73 20 6f 66 20 54 | 48 49 4e 4b 27 73 20 73 |ess of T|HINK's s|
|000008a0| 65 61 72 63 68 20 73 74 | 72 69 6e 67 0d 20 75 6e |earch st|ring. un|
|000008b0| 73 69 67 6e 65 64 20 63 | 68 61 72 2a 20 72 65 70 |signed c|har* rep|
|000008c0| 6c 61 63 65 53 74 72 41 | 64 64 72 3b 20 2f 2f 20 |laceStrA|ddr; // |
|000008d0| 61 64 64 72 65 73 73 20 | 6f 66 20 54 48 49 4e 4b |address |of THINK|
|000008e0| 27 73 20 72 65 70 6c 61 | 63 65 20 73 74 72 69 6e |'s repla|ce strin|
|000008f0| 67 0d 7d 3b 0d 0d 74 79 | 70 65 64 65 66 20 73 74 |g.};..ty|pedef st|
|00000900| 72 75 63 74 20 50 55 46 | 56 65 63 74 6f 72 20 50 |ruct PUF|Vector P|
|00000910| 55 46 56 65 63 74 6f 72 | 2c 20 2a 2a 50 55 46 56 |UFVector|, **PUFV|
|00000920| 65 63 74 6f 72 48 61 6e | 64 6c 65 3b 0d 0d 2f 2a |ectorHan|dle;../*|
|00000930| 20 52 6f 75 74 69 6e 65 | 20 44 65 73 63 72 69 70 | Routine| Descrip|
|00000940| 74 69 6f 6e 73 3a 0d 0d | 20 47 65 74 57 69 6e 64 |tions:..| GetWind|
|00000950| 6f 77 43 6f 6e 74 65 6e | 74 73 28 57 69 6e 64 6f |owConten|ts(Windo|
|00000960| 77 50 74 72 20 77 69 6e | 64 6f 77 29 0d 20 20 0d |wPtr win|dow). .|
|00000970| 20 20 67 69 76 65 6e 20 | 61 20 57 69 6e 64 6f 77 | given |a Window|
|00000980| 50 74 72 2c 20 72 65 74 | 75 72 6e 73 20 61 73 20 |Ptr, ret|urns as |
|00000990| 69 74 73 20 72 65 73 75 | 6c 74 20 61 20 68 61 6e |its resu|lt a han|
|000009a0| 64 6c 65 20 74 6f 20 74 | 68 65 20 74 65 78 74 20 |dle to t|he text |
|000009b0| 69 6e 20 74 68 61 74 20 | 77 69 6e 64 6f 77 2e 0d |in that |window..|
|000009c0| 20 20 28 74 68 69 73 20 | 69 73 20 61 20 68 61 6e | (this |is a han|
|000009d0| 64 6c 65 20 74 6f 20 74 | 68 65 20 61 63 74 75 61 |dle to t|he actua|
|000009e0| 6c 20 74 65 78 74 2c 20 | 6e 6f 74 20 61 20 63 6f |l text, |not a co|
|000009f0| 70 79 29 0d 20 20 0d 20 | 47 65 74 53 65 6c 65 63 |py). . |GetSelec|
|00000a00| 74 69 6f 6e 28 6c 6f 6e | 67 2a 20 73 74 61 72 74 |tion(lon|g* start|
|00000a10| 2c 20 6c 6f 6e 67 2a 20 | 65 6e 64 2c 20 6c 6f 6e |, long* |end, lon|
|00000a20| 67 2a 20 66 69 72 73 74 | 43 68 61 72 29 20 0d 0d |g* first|Char) ..|
|00000a30| 20 20 67 69 76 65 6e 20 | 74 68 65 20 61 64 64 72 | given |the addr|
|00000a40| 65 73 73 65 73 20 6f 66 | 20 74 68 72 65 65 20 6c |esses of| three l|
|00000a50| 6f 6e 67 73 2c 20 72 65 | 74 75 72 6e 73 20 69 6e |ongs, re|turns in|
|00000a60| 20 74 68 65 6d 20 74 68 | 65 20 62 65 67 69 6e 6e | them th|e beginn|
|00000a70| 69 6e 67 0d 20 20 6f 66 | 20 74 68 65 20 73 65 6c |ing. of| the sel|
|00000a80| 65 63 74 69 6f 6e 2c 20 | 74 68 65 20 65 6e 64 20 |ection, |the end |
|00000a90| 6f 66 20 74 68 65 20 73 | 65 6c 65 63 74 69 6f 6e |of the s|election|
|00000aa0| 2c 20 61 6e 64 20 74 68 | 65 20 74 65 78 74 20 6f |, and th|e text o|
|00000ab0| 66 66 73 65 74 0d 20 20 | 6f 66 20 74 68 65 20 66 |ffset. |of the f|
|00000ac0| 69 72 73 74 20 63 68 61 | 72 61 63 74 65 72 20 69 |irst cha|racter i|
|00000ad0| 6e 20 74 68 65 20 66 69 | 72 73 74 20 76 69 73 69 |n the fi|rst visi|
|00000ae0| 62 6c 65 20 6c 69 6e 65 | 20 28 68 6f 72 69 7a 6f |ble line| (horizo|
|00000af0| 6e 74 61 6c 20 73 63 72 | 6f 6c 6c 69 6e 67 20 69 |ntal scr|olling i|
|00000b00| 73 20 6e 6f 74 0d 20 20 | 61 63 63 6f 75 6e 74 65 |s not. |accounte|
|00000b10| 64 20 66 6f 72 29 2e 20 | 28 54 68 65 73 65 20 76 |d for). |(These v|
|00000b20| 61 6c 75 65 73 20 61 72 | 65 20 76 61 6c 69 64 20 |alues ar|e valid |
|00000b30| 6f 6e 6c 79 20 66 6f 72 | 20 74 68 65 20 63 75 72 |only for| the cur|
|00000b40| 72 65 6e 74 6c 79 20 61 | 63 74 69 76 65 0d 20 20 |rently a|ctive. |
|00000b50| 64 6f 63 75 6d 65 6e 74 | 2e 29 0d 0d 20 53 65 74 |document|.).. Set|
|00000b60| 53 65 6c 65 63 74 69 6f | 6e 28 6c 6f 6e 67 20 73 |Selectio|n(long s|
|00000b70| 74 61 72 74 2c 20 6c 6f | 6e 67 20 65 6e 64 2c 20 |tart, lo|ng end, |
|00000b80| 6c 6f 6e 67 20 66 69 72 | 73 74 43 68 61 72 29 0d |long fir|stChar).|
|00000b90| 20 0d 20 20 67 69 76 65 | 6e 20 74 68 72 65 65 20 | . give|n three |
|00000ba0| 6c 6f 6e 67 73 2c 20 73 | 65 74 73 20 74 68 65 20 |longs, s|ets the |
|00000bb0| 63 75 72 72 65 6e 74 20 | 64 6f 63 75 6d 65 6e 74 |current |document|
|00000bc0| 27 73 20 73 65 6c 65 63 | 74 69 6f 6e 20 72 61 6e |'s selec|tion ran|
|00000bd0| 67 65 0d 20 20 66 72 6f | 6d 20 27 73 74 61 72 74 |ge. fro|m 'start|
|00000be0| 27 20 74 6f 20 27 65 6e | 64 27 2c 20 61 6e 64 20 |' to 'en|d', and |
|00000bf0| 73 63 72 6f 6c 6c 73 20 | 74 68 65 20 64 6f 63 75 |scrolls |the docu|
|00000c00| 6d 65 6e 74 27 73 20 77 | 69 6e 64 6f 77 20 73 6f |ment's w|indow so|
|00000c10| 0d 20 20 74 68 61 74 20 | 27 66 69 72 73 74 43 68 |. that |'firstCh|
|00000c20| 61 72 27 20 69 73 20 61 | 74 20 74 68 65 20 74 6f |ar' is a|t the to|
|00000c30| 70 20 6f 66 20 74 68 65 | 20 77 69 6e 64 6f 77 2e |p of the| window.|
|00000c40| 0d 20 20 0d 20 47 65 74 | 44 6f 63 49 6e 66 6f 28 |. . Get|DocInfo(|
|00000c50| 57 69 6e 64 6f 77 50 74 | 72 20 77 2c 20 53 74 72 |WindowPt|r w, Str|
|00000c60| 32 35 35 20 2a 6e 61 6d | 65 2c 20 73 68 6f 72 74 |255 *nam|e, short|
|00000c70| 20 2a 76 52 65 66 4e 75 | 6d 2c 20 6c 6f 6e 67 20 | *vRefNu|m, long |
|00000c80| 2a 64 69 72 49 44 29 0d | 20 0d 20 20 67 69 76 65 |*dirID).| . give|
|00000c90| 6e 20 61 20 57 69 6e 64 | 6f 77 50 74 72 2c 20 72 |n a Wind|owPtr, r|
|00000ca0| 65 74 75 72 6e 73 20 69 | 6e 66 6f 72 6d 61 74 69 |eturns i|nformati|
|00000cb0| 6f 6e 20 61 62 6f 75 74 | 20 74 68 65 20 64 6f 63 |on about| the doc|
|00000cc0| 75 6d 65 6e 74 27 73 20 | 66 69 6c 65 0d 20 20 6f |ument's |file. o|
|00000cd0| 6e 20 64 69 73 6b 2e 20 | 49 66 20 74 68 65 20 64 |n disk. |If the d|
|00000ce0| 6f 63 75 6d 65 6e 74 20 | 69 73 20 6e 65 77 20 61 |ocument |is new a|
|00000cf0| 6e 64 20 75 6e 73 61 76 | 65 64 2c 20 74 68 65 6e |nd unsav|ed, then|
|00000d00| 20 74 68 65 20 6e 61 6d | 65 27 73 0d 20 20 6c 65 | the nam|e's. le|
|00000d10| 6e 67 74 68 20 62 79 74 | 65 20 77 69 6c 6c 20 62 |ngth byt|e will b|
|00000d20| 65 20 7a 65 72 6f 2c 20 | 74 68 65 20 76 52 65 66 |e zero, |the vRef|
|00000d30| 4e 75 6d 20 77 69 6c 6c | 20 62 65 20 7a 65 72 6f |Num will| be zero|
|00000d40| 2c 20 61 6e 64 20 74 68 | 65 0d 20 20 64 69 72 49 |, and th|e. dirI|
|00000d50| 44 20 77 69 6c 6c 20 62 | 65 20 7a 65 72 6f 2e 0d |D will b|e zero..|
|00000d60| 20 20 0d 20 47 65 74 4d | 6f 64 44 61 74 65 28 57 | . GetM|odDate(W|
|00000d70| 69 6e 64 6f 77 50 74 72 | 20 77 29 0d 20 0d 20 20 |indowPtr| w). . |
|00000d80| 67 69 76 65 6e 20 61 20 | 57 69 6e 64 6f 77 50 74 |given a |WindowPt|
|00000d90| 72 2c 20 72 65 74 75 72 | 6e 73 20 61 73 20 69 74 |r, retur|ns as it|
|00000da0| 73 20 72 65 73 75 6c 74 | 20 74 68 65 20 73 79 73 |s result| the sys|
|00000db0| 74 65 6d 20 63 6c 6f 63 | 6b 20 74 69 6d 65 0d 20 |tem cloc|k time. |
|00000dc0| 20 28 69 6e 20 73 65 63 | 6f 6e 64 73 29 20 74 68 | (in sec|onds) th|
|00000dd0| 65 20 66 69 6c 65 20 77 | 61 73 20 6c 61 73 74 20 |e file w|as last |
|00000de0| 65 64 69 74 65 64 2e 20 | 28 4e 6f 74 20 74 68 65 |edited. |(Not the|
|00000df0| 20 73 61 6d 65 20 61 73 | 20 74 68 65 0d 20 20 6c | same as| the. l|
|00000e00| 61 73 74 20 74 69 6d 65 | 20 74 68 65 20 66 69 6c |ast time| the fil|
|00000e10| 65 20 77 61 73 20 73 61 | 76 65 64 2e 29 0d 20 20 |e was sa|ved.). |
|00000e20| 0d 20 43 6f 70 79 0d 20 | 0d 20 20 72 65 74 75 72 |. Copy. |. retur|
|00000e30| 6e 73 20 61 73 20 69 74 | 73 20 72 65 73 75 6c 74 |ns as it|s result|
|00000e40| 20 61 20 68 61 6e 64 6c | 65 20 74 6f 20 61 20 63 | a handl|e to a c|
|00000e50| 6f 70 79 20 6f 66 20 74 | 68 65 20 63 75 72 72 65 |opy of t|he curre|
|00000e60| 6e 74 6c 79 20 73 65 6c | 65 63 74 65 64 0d 20 20 |ntly sel|ected. |
|00000e70| 74 65 78 74 2e 20 28 49 | 66 20 74 68 65 72 65 20 |text. (I|f there |
|00000e80| 69 73 20 6e 6f 20 73 65 | 6c 65 63 74 69 6f 6e 2c |is no se|lection,|
|00000e90| 20 74 68 65 20 68 61 6e | 64 6c 65 20 77 69 6c 6c | the han|dle will|
|00000ea0| 20 62 65 20 6f 66 20 7a | 65 72 6f 20 73 69 7a 65 | be of z|ero size|
|00000eb0| 2c 0d 20 20 4e 4f 54 20 | 4e 49 4c 2e 29 0d 20 20 |,. NOT |NIL.). |
|00000ec0| 0d 20 50 61 73 74 65 28 | 48 61 6e 64 6c 65 20 74 |. Paste(|Handle t|
|00000ed0| 65 78 74 29 0d 20 0d 20 | 20 67 69 76 65 6e 20 61 |ext). . | given a|
|00000ee0| 20 68 61 6e 64 6c 65 2c | 20 72 65 70 6c 61 63 65 | handle,| replace|
|00000ef0| 73 20 74 68 65 20 63 75 | 72 72 65 6e 74 20 73 65 |s the cu|rrent se|
|00000f00| 6c 65 63 74 69 6f 6e 20 | 77 69 74 68 20 74 68 65 |lection |with the|
|00000f10| 20 74 65 78 74 20 69 6e | 0d 20 20 74 68 65 20 68 | text in|. the h|
|00000f20| 61 6e 64 6c 65 2e 20 28 | 4e 6f 74 65 3a 20 74 68 |andle. (|Note: th|
|00000f30| 65 20 43 41 4c 4c 45 52 | 20 69 73 20 72 65 73 70 |e CALLER| is resp|
|00000f40| 6f 6e 73 69 62 6c 65 20 | 66 6f 72 20 64 69 73 70 |onsible |for disp|
|00000f50| 6f 73 69 6e 67 20 6f 66 | 0d 20 20 74 68 65 20 70 |osing of|. the p|
|00000f60| 61 73 74 65 64 20 74 65 | 78 74 20 6f 6e 63 65 20 |asted te|xt once |
|00000f70| 50 61 73 74 65 20 72 65 | 74 75 72 6e 73 2e 29 0d |Paste re|turns.).|
|00000f80| 0d 20 54 68 65 20 27 76 | 65 72 73 69 6f 6e 27 20 |. The 'v|ersion' |
|00000f90| 66 69 65 6c 64 20 69 73 | 20 74 6f 20 61 6c 6c 6f |field is| to allo|
|00000fa0| 77 20 66 6f 72 20 66 75 | 74 75 72 65 20 65 78 70 |w for fu|ture exp|
|00000fb0| 61 6e 73 69 6f 6e 2e 20 | 49 66 20 74 68 65 20 76 |ansion. |If the v|
|00000fc0| 65 72 73 69 6f 6e 20 6e | 75 6d 62 65 72 0d 20 69 |ersion n|umber. i|
|00000fd0| 73 20 6c 65 73 73 20 74 | 68 61 6e 20 77 68 61 74 |s less t|han what|
|00000fe0| 20 79 6f 75 27 72 65 20 | 65 78 70 65 63 74 69 6e | you're |expectin|
|00000ff0| 67 2c 20 74 68 65 6e 20 | 79 6f 75 72 20 65 78 74 |g, then |your ext|
|00001000| 65 6e 73 69 6f 6e 20 6d | 61 79 20 62 65 20 72 65 |ension m|ay be re|
|00001010| 6c 79 69 6e 67 20 6f 6e | 0d 20 66 65 61 74 75 72 |lying on|. featur|
|00001020| 65 73 20 74 68 61 74 20 | 61 72 65 6e 27 74 20 70 |es that |aren't p|
|00001030| 72 65 73 65 6e 74 20 69 | 6e 20 74 68 65 20 65 64 |resent i|n the ed|
|00001040| 69 74 6f 72 20 79 6f 75 | 27 72 65 20 68 6f 6f 6b |itor you|'re hook|
|00001050| 65 64 20 75 70 20 74 6f | 2c 20 73 6f 20 79 6f 75 |ed up to|, so you|
|00001060| 0d 20 73 68 6f 75 6c 64 | 20 6e 6f 74 20 69 6e 73 |. should| not ins|
|00001070| 74 61 6c 6c 2e 0d 0d 20 | 54 6f 20 67 65 74 20 74 |tall... |To get t|
|00001080| 68 65 20 61 64 64 72 65 | 73 73 20 6f 66 20 74 68 |he addre|ss of th|
|00001090| 65 20 69 6e 74 65 72 66 | 61 63 65 20 73 74 72 75 |e interf|ace stru|
|000010a0| 63 74 75 72 65 2c 20 75 | 73 65 20 47 65 74 49 6e |cture, u|se GetIn|
|000010b0| 64 52 65 73 6f 75 72 63 | 65 28 27 50 55 46 20 27 |dResourc|e('PUF '|
|000010c0| 2c 20 31 29 2c 0d 20 77 | 68 69 63 68 20 77 69 6c |, 1),. w|hich wil|
|000010d0| 6c 20 72 65 74 75 72 6e | 20 61 20 68 61 6e 64 6c |l return| a handl|
|000010e0| 65 20 28 77 68 69 63 68 | 20 73 68 6f 75 6c 64 20 |e (which| should |
|000010f0| 62 65 20 63 61 73 74 20 | 74 6f 20 61 20 50 55 46 |be cast |to a PUF|
|00001100| 56 65 63 74 6f 72 48 61 | 6e 64 6c 65 29 2e 0d 20 |VectorHa|ndle).. |
|00001110| 43 68 65 63 6b 20 74 6f | 20 62 65 20 73 75 72 65 |Check to| be sure|
|00001120| 20 74 68 65 20 72 65 73 | 75 6c 74 20 69 73 20 6e | the res|ult is n|
|00001130| 6f 74 20 4e 49 4c 2e 0d | 20 0d 20 54 68 69 73 20 |ot NIL..| . This |
|00001140| 50 55 46 56 65 63 74 6f | 72 48 61 6e 64 6c 65 20 |PUFVecto|rHandle |
|00001150| 68 61 73 20 61 73 20 69 | 74 73 20 66 69 72 73 74 |has as i|ts first|
|00001160| 20 6c 6f 6e 67 20 74 68 | 65 20 73 69 67 6e 61 74 | long th|e signat|
|00001170| 75 72 65 20 6f 66 20 74 | 68 65 20 61 70 70 6c 69 |ure of t|he appli|
|00001180| 63 61 74 69 6f 6e 3b 0d | 20 74 68 69 73 20 6d 61 |cation;.| this ma|
|00001190| 79 20 62 65 20 75 73 65 | 64 20 66 6f 72 20 73 61 |y be use|d for sa|
|000011a0| 6e 69 74 79 2d 63 68 65 | 63 6b 69 6e 67 20 6f 72 |nity-che|cking or|
|000011b0| 20 73 70 65 63 69 61 6c | 2d 63 61 73 69 6e 67 2e | special|-casing.|
|000011c0| 20 54 68 65 20 73 65 63 | 6f 6e 64 20 6c 6f 6e 67 | The sec|ond long|
|000011d0| 0d 20 69 73 20 74 68 65 | 20 61 64 64 72 65 73 73 |. is the| address|
|000011e0| 20 6f 66 20 61 20 50 55 | 46 49 6e 74 65 72 66 61 | of a PU|FInterfa|
|000011f0| 63 65 20 73 74 72 75 63 | 74 75 72 65 2e 20 54 68 |ce struc|ture. Th|
|00001200| 69 73 20 61 64 64 72 65 | 73 73 2c 20 61 6e 64 20 |is addre|ss, and |
|00001210| 74 68 65 20 61 64 64 72 | 65 73 73 65 73 0d 20 69 |the addr|esses. i|
|00001220| 6e 20 74 68 65 20 50 55 | 46 49 6e 74 65 72 66 61 |n the PU|FInterfa|
|00001230| 63 65 20 73 74 72 75 63 | 74 75 72 65 2c 20 61 72 |ce struc|ture, ar|
|00001240| 65 20 76 61 6c 69 64 20 | 66 6f 72 20 61 73 20 6c |e valid |for as l|
|00001250| 6f 6e 67 20 61 73 20 74 | 68 65 20 61 70 70 6c 69 |ong as t|he appli|
|00001260| 63 61 74 69 6f 6e 0d 20 | 69 73 20 72 75 6e 6e 69 |cation. |is runni|
|00001270| 6e 67 2e 0d 2a 2f 0d 0d | 23 69 66 20 30 0d 74 79 |ng..*/..|#if 0.ty|
|00001280| 70 65 64 65 66 20 70 61 | 73 63 61 6c 20 48 61 6e |pedef pa|scal Han|
|00001290| 64 6c 65 20 28 2a 47 65 | 74 57 69 6e 64 6f 77 43 |dle (*Ge|tWindowC|
|000012a0| 6f 6e 74 65 6e 74 73 50 | 72 6f 63 50 74 72 29 28 |ontentsP|rocPtr)(|
|000012b0| 57 69 6e 64 6f 77 50 74 | 72 20 77 29 3b 0d 74 79 |WindowPt|r w);.ty|
|000012c0| 70 65 64 65 66 20 70 61 | 73 63 61 6c 20 76 6f 69 |pedef pa|scal voi|
|000012d0| 64 20 28 2a 47 65 74 53 | 65 6c 65 63 74 69 6f 6e |d (*GetS|election|
|000012e0| 50 72 6f 63 50 74 72 29 | 28 6c 6f 6e 67 2a 20 73 |ProcPtr)|(long* s|
|000012f0| 74 61 72 74 2c 20 6c 6f | 6e 67 2a 20 65 6e 64 2c |tart, lo|ng* end,|
|00001300| 20 6c 6f 6e 67 2a 20 66 | 69 72 73 74 43 68 61 72 | long* f|irstChar|
|00001310| 29 3b 0d 74 79 70 65 64 | 65 66 20 70 61 73 63 61 |);.typed|ef pasca|
|00001320| 6c 20 76 6f 69 64 20 28 | 2a 53 65 74 53 65 6c 65 |l void (|*SetSele|
|00001330| 63 74 69 6f 6e 50 72 6f | 63 50 74 72 29 28 6c 6f |ctionPro|cPtr)(lo|
|00001340| 6e 67 20 73 74 61 72 74 | 2c 20 6c 6f 6e 67 20 65 |ng start|, long e|
|00001350| 6e 64 2c 20 6c 6f 6e 67 | 20 66 69 72 73 74 43 68 |nd, long| firstCh|
|00001360| 61 72 29 3b 0d 74 79 70 | 65 64 65 66 20 70 61 73 |ar);.typ|edef pas|
|00001370| 63 61 6c 20 76 6f 69 64 | 20 28 2a 47 65 74 44 6f |cal void| (*GetDo|
|00001380| 63 49 6e 66 6f 50 72 6f | 63 50 74 72 29 28 57 69 |cInfoPro|cPtr)(Wi|
|00001390| 6e 64 6f 77 50 74 72 20 | 77 2c 20 53 74 72 69 6e |ndowPtr |w, Strin|
|000013a0| 67 50 74 72 20 6e 61 6d | 65 2c 20 73 68 6f 72 74 |gPtr nam|e, short|
|000013b0| 2a 20 76 52 65 66 4e 75 | 6d 2c 20 6c 6f 6e 67 2a |* vRefNu|m, long*|
|000013c0| 20 64 69 72 49 44 29 3b | 0d 74 79 70 65 64 65 66 | dirID);|.typedef|
|000013d0| 20 70 61 73 63 61 6c 20 | 6c 6f 6e 67 20 28 2a 47 | pascal |long (*G|
|000013e0| 65 74 4d 6f 64 44 61 74 | 65 50 72 6f 63 50 74 72 |etModDat|eProcPtr|
|000013f0| 29 28 57 69 6e 64 6f 77 | 50 74 72 20 77 29 3b 0d |)(Window|Ptr w);.|
|00001400| 74 79 70 65 64 65 66 20 | 70 61 73 63 61 6c 20 48 |typedef |pascal H|
|00001410| 61 6e 64 6c 65 20 28 2a | 43 6f 70 79 50 72 6f 63 |andle (*|CopyProc|
|00001420| 50 74 72 29 28 76 6f 69 | 64 29 3b 0d 74 79 70 65 |Ptr)(voi|d);.type|
|00001430| 64 65 66 20 70 61 73 63 | 61 6c 20 76 6f 69 64 20 |def pasc|al void |
|00001440| 28 2a 50 61 73 74 65 50 | 72 6f 63 50 74 72 29 28 |(*PasteP|rocPtr)(|
|00001450| 48 61 6e 64 6c 65 20 74 | 65 78 74 29 3b 0d 0d 65 |Handle t|ext);..e|
|00001460| 78 74 65 72 6e 20 70 61 | 73 63 61 6c 20 48 61 6e |xtern pa|scal Han|
|00001470| 64 6c 65 20 70 75 66 47 | 65 74 57 69 6e 64 6f 77 |dle pufG|etWindow|
|00001480| 43 6f 6e 74 65 6e 74 73 | 28 57 69 6e 64 6f 77 50 |Contents|(WindowP|
|00001490| 74 72 20 77 29 3b 0d 65 | 78 74 65 72 6e 20 70 61 |tr w);.e|xtern pa|
|000014a0| 73 63 61 6c 20 76 6f 69 | 64 20 70 75 66 47 65 74 |scal voi|d pufGet|
|000014b0| 53 65 6c 65 63 74 69 6f | 6e 28 6c 6f 6e 67 20 2a |Selectio|n(long *|
|000014c0| 73 74 61 72 74 2c 20 6c | 6f 6e 67 20 2a 65 6e 64 |start, l|ong *end|
|000014d0| 2c 20 6c 6f 6e 67 20 2a | 66 69 72 73 74 43 68 61 |, long *|firstCha|
|000014e0| 72 29 3b 0d 65 78 74 65 | 72 6e 20 70 61 73 63 61 |r);.exte|rn pasca|
|000014f0| 6c 20 76 6f 69 64 20 70 | 75 66 53 65 74 53 65 6c |l void p|ufSetSel|
|00001500| 65 63 74 69 6f 6e 28 6c | 6f 6e 67 20 73 74 61 72 |ection(l|ong star|
|00001510| 74 2c 20 6c 6f 6e 67 20 | 65 6e 64 2c 20 6c 6f 6e |t, long |end, lon|
|00001520| 67 20 66 69 72 73 74 43 | 68 61 72 29 3b 0d 65 78 |g firstC|har);.ex|
|00001530| 74 65 72 6e 20 70 61 73 | 63 61 6c 20 76 6f 69 64 |tern pas|cal void|
|00001540| 20 70 75 66 47 65 74 44 | 6f 63 49 6e 66 6f 28 57 | pufGetD|ocInfo(W|
|00001550| 69 6e 64 6f 77 50 74 72 | 20 77 2c 20 53 74 72 32 |indowPtr| w, Str2|
|00001560| 35 35 20 2a 6e 61 6d 65 | 2c 20 73 68 6f 72 74 20 |55 *name|, short |
|00001570| 2a 76 52 65 66 4e 75 6d | 2c 20 6c 6f 6e 67 20 2a |*vRefNum|, long *|
|00001580| 64 69 72 49 44 29 3b 0d | 65 78 74 65 72 6e 20 70 |dirID);.|extern p|
|00001590| 61 73 63 61 6c 20 6c 6f | 6e 67 20 70 75 66 47 65 |ascal lo|ng pufGe|
|000015a0| 74 4d 6f 64 44 61 74 65 | 28 57 69 6e 64 6f 77 50 |tModDate|(WindowP|
|000015b0| 74 72 20 77 29 3b 0d 65 | 78 74 65 72 6e 20 70 61 |tr w);.e|xtern pa|
|000015c0| 73 63 61 6c 20 48 61 6e | 64 6c 65 20 70 75 66 43 |scal Han|dle pufC|
|000015d0| 6f 70 79 28 76 6f 69 64 | 29 3b 0d 65 78 74 65 72 |opy(void|);.exter|
|000015e0| 6e 20 70 61 73 63 61 6c | 20 76 6f 69 64 20 70 75 |n pascal| void pu|
|000015f0| 66 50 61 73 74 65 28 48 | 61 6e 64 6c 65 20 74 65 |fPaste(H|andle te|
|00001600| 78 74 29 3b 0d 0d 74 79 | 70 65 64 65 66 20 73 74 |xt);..ty|pedef st|
|00001610| 72 75 63 74 20 7b 0d 20 | 73 68 6f 72 74 20 20 20 |ruct {. |short |
|00001620| 20 20 20 76 65 72 73 69 | 6f 6e 3b 20 20 20 2f 2f | versi|on; //|
|00001630| 20 63 75 72 72 65 6e 74 | 6c 79 20 30 78 30 30 30 | current|ly 0x000|
|00001640| 31 0d 20 0d 20 47 65 74 | 57 69 6e 64 6f 77 43 6f |1. . Get|WindowCo|
|00001650| 6e 74 65 6e 74 73 50 72 | 6f 63 50 74 72 20 47 65 |ntentsPr|ocPtr Ge|
|00001660| 74 57 69 6e 64 6f 77 43 | 6f 6e 74 65 6e 74 73 3b |tWindowC|ontents;|
|00001670| 0d 20 47 65 74 53 65 6c | 65 63 74 69 6f 6e 50 72 |. GetSel|ectionPr|
|00001680| 6f 63 50 74 72 20 20 20 | 47 65 74 53 65 6c 65 63 |ocPtr |GetSelec|
|00001690| 74 69 6f 6e 3b 0d 20 53 | 65 74 53 65 6c 65 63 74 |tion;. S|etSelect|
|000016a0| 69 6f 6e 50 72 6f 63 50 | 74 72 20 20 20 53 65 74 |ionProcP|tr Set|
|000016b0| 53 65 6c 65 63 74 69 6f | 6e 3b 0d 20 47 65 74 44 |Selectio|n;. GetD|
|000016c0| 6f 63 49 6e 66 6f 50 72 | 6f 63 50 74 72 20 20 20 |ocInfoPr|ocPtr |
|000016d0| 47 65 74 44 6f 63 49 6e | 66 6f 3b 0d 20 47 65 74 |GetDocIn|fo;. Get|
|000016e0| 4d 6f 64 44 61 74 65 50 | 72 6f 63 50 74 72 20 20 |ModDateP|rocPtr |
|000016f0| 20 47 65 74 4d 6f 64 44 | 61 74 65 3b 0d 20 43 6f | GetModD|ate;. Co|
|00001700| 70 79 50 72 6f 63 50 74 | 72 20 20 20 43 6f 70 79 |pyProcPt|r Copy|
|00001710| 3b 0d 20 50 61 73 74 65 | 50 72 6f 63 50 74 72 20 |;. Paste|ProcPtr |
|00001720| 20 20 20 50 61 73 74 65 | 3b 0d 7d 20 50 55 46 49 | Paste|;.} PUFI|
|00001730| 6e 74 65 72 66 61 63 65 | 3b 0d 0d 74 79 70 65 64 |nterface|;..typed|
|00001740| 65 66 20 73 74 72 75 63 | 74 20 7b 0d 0d 20 4f 53 |ef struc|t {.. OS|
|00001750| 54 79 70 65 20 20 20 61 | 70 70 6c 53 69 67 6e 61 |Type a|pplSigna|
|00001760| 74 75 72 65 3b 0d 20 50 | 55 46 49 6e 74 65 72 66 |ture;. P|UFInterf|
|00001770| 61 63 65 20 20 2a 76 65 | 63 74 6f 72 41 64 64 72 |ace *ve|ctorAddr|
|00001780| 3b 0d 20 48 61 6e 64 6c | 65 20 20 20 2a 73 63 72 |;. Handl|e *scr|
|00001790| 61 70 48 61 6e 64 6c 65 | 41 64 64 72 3b 20 2f 2f |apHandle|Addr; //|
|000017a0| 20 61 64 64 72 65 73 73 | 20 6f 66 20 48 61 6e 64 | address| of Hand|
|000017b0| 6c 65 20 74 6f 20 54 48 | 49 4e 4b 27 73 20 70 72 |le to TH|INK's pr|
|000017c0| 69 76 61 74 65 20 73 63 | 72 61 70 0d 20 75 6e 73 |ivate sc|rap. uns|
|000017d0| 69 67 6e 65 64 20 63 68 | 61 72 20 2a 73 65 61 72 |igned ch|ar *sear|
|000017e0| 63 68 53 74 72 41 64 64 | 72 3b 20 20 2f 2f 20 61 |chStrAdd|r; // a|
|000017f0| 64 64 72 65 73 73 20 6f | 66 20 54 48 49 4e 4b 27 |ddress o|f THINK'|
|00001800| 73 20 73 65 61 72 63 68 | 20 73 74 72 69 6e 67 0d |s search| string.|
|00001810| 20 75 6e 73 69 67 6e 65 | 64 20 63 68 61 72 20 2a | unsigne|d char *|
|00001820| 72 65 70 6c 61 63 65 53 | 74 72 41 64 64 72 3b 20 |replaceS|trAddr; |
|00001830| 2f 2f 20 61 64 64 72 65 | 73 73 20 6f 66 20 54 48 |// addre|ss of TH|
|00001840| 49 4e 4b 27 73 20 72 65 | 70 6c 61 63 65 20 73 74 |INK's re|place st|
|00001850| 72 69 6e 67 0d 20 0d 7d | 20 50 55 46 56 65 63 74 |ring. .}| PUFVect|
|00001860| 6f 72 2c 20 2a 2a 50 55 | 46 56 65 63 74 6f 72 48 |or, **PU|FVectorH|
|00001870| 61 6e 64 6c 65 3b 0d 23 | 65 6e 64 69 66 0d 0d 23 |andle;.#|endif..#|
|00001880| 65 6e 64 69 66 0d 5b 4e | 61 76 69 67 61 74 6f 72 |endif.[N|avigator|
|00001890| 3a 20 4d 65 73 73 61 67 | 65 20 64 65 6c 65 74 65 |: Messag|e delete|
|000018a0| 64 20 61 66 74 65 72 20 | 72 65 61 64 69 6e 67 5d |d after |reading]|
|000018b0| 0d 0d 0d 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001900| 00 00 01 00 00 00 01 4c | 00 00 00 4c 00 00 00 46 |.......L|...L...F|
|00001910| 00 00 00 12 00 90 00 00 | 00 04 07 ff 00 00 2c c1 |........|......,.|
|00001920| 00 54 00 00 00 02 07 00 | 00 00 32 72 00 38 00 00 |.T......|..2r.8..|
|00001930| 12 72 65 61 6c 20 50 55 | 46 20 49 6e 74 65 72 66 |.real PU|F Interf|
|00001940| 61 63 65 20 02 00 00 00 | 54 45 58 54 4b 41 48 4c |ace ....|TEXTKAHL|
|00001950| 00 00 54 45 58 54 4b 41 | 48 4c 01 00 00 3c 01 20 |..TEXTKA|HL...<. |
|00001960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001970| 00 00 00 00 00 00 00 00 | 18 33 00 00 01 92 42 1c |........|.3....B.|
|00001980| 00 05 00 00 00 0d 07 00 | 00 00 41 e0 04 9e 00 00 |........|..A.....|
|00001990| 00 01 07 00 00 00 41 e0 | 04 9e 00 00 00 01 00 00 |......A.|........|
|000019a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a00| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 00 00 00 |...H..Mo|naco....|
|00001a10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a20| 00 00 00 00 00 00 00 06 | 00 04 00 38 00 14 03 5e |........|...8...^|
|00001a30| 02 7c 00 38 00 14 03 5e | 02 7c a8 26 93 44 00 00 |.|.8...^|.|.&.D..|
|00001a40| 00 00 00 00 00 00 00 00 | 08 ad 01 00 00 00 01 00 |........|........|
|00001a50| 00 00 01 4c 00 00 00 4c | 00 00 00 46 00 e7 7b 40 |...L...L|...F..{@|
|00001a60| 13 d6 00 00 00 1c 00 32 | 00 00 4d 50 53 52 00 00 |.......2|..MPSR..|
|00001a70| 00 0a 03 ed 00 00 00 00 | 00 00 00 e7 76 c4 13 43 |........|....v..C|
|00001a80| 72 65 61 74 65 64 20 62 | 79 20 43 4d 61 73 74 65 |reated b|y CMaste|
|00001a90| 72 aa 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |r.......|........|
|00001aa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ab0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ac0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ad0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ae0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001af0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+